import http from '@/utils/http'

//分页查询
export function findRolePage(data) {
    return http.post('/lzh/role/findRolePage', data)
}

//查询角色列表
export function findRoleList(data) {
    return http.post('/lzh/role/findRoleList', data)
}

//删除角色
export function deleteRole(data) {
    return http.post(`/lzh/role/deleteRole`, data)
}

//更新角色
export function editRole(data) {
    return http.post(`/lzh/role/editRole`, data)
}

//添加角色
export function addRole(data) {
    return http.post(`/lzh/role/addRole`, data)
}